package com._119yn.host.gst200.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@JsonInclude(JsonInclude.Include.NON_NULL)
@EqualsAndHashCode(callSuper = true)
@Data
public class ZngkDevSignal extends ZngkSignal {

    @JsonProperty("attr")
    private Attr attr = new Attr();

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Data
    public static class Attr {

        @JsonProperty("alarm")
        private Integer alarm;

        @JsonProperty("fault")
        private Integer fault;

        @JsonProperty("action")
        private Integer action;

        @JsonProperty("startup")
        private Integer startup;

        @JsonProperty("shield")
        private Integer shield;
    }

}
